package cn.wolfcode.shop.seckill.result;

import cn.wolfcode.cloud.result.CodeMsg;
import lombok.Getter;
import lombok.Setter;

@Setter@Getter
public class SeckillGoodServerCodeMsg extends CodeMsg {

    public SeckillGoodServerCodeMsg(int code,String msg){
        super(code,msg);
    }

    public static  final SeckillGoodServerCodeMsg  GOOD_EMPTY_LIST=new SeckillGoodServerCodeMsg(500111,"商品信息为空");
    public static  final SeckillGoodServerCodeMsg  USER_EMPTY=new SeckillGoodServerCodeMsg(500112,"用户没登录");
    public static  final SeckillGoodServerCodeMsg  SECKILL_GOOD_EMPTY=new SeckillGoodServerCodeMsg(500113,"商品不存在");
    public static  final SeckillGoodServerCodeMsg  TIME_OVER=new SeckillGoodServerCodeMsg(500114,"秒杀时间已过");
    public static  final SeckillGoodServerCodeMsg  SG_ERROR=new SeckillGoodServerCodeMsg(500113,"操作失败");
    public static  final SeckillGoodServerCodeMsg  REPAY_ORDER_ERROR=new SeckillGoodServerCodeMsg(500114,"请不要重复下单");
    public static  final SeckillGoodServerCodeMsg  SECKILL_ERROR=new SeckillGoodServerCodeMsg(500115,"恭喜你,抢购失败");
    public static  final SeckillGoodServerCodeMsg  VERYCODE_ERROR=new SeckillGoodServerCodeMsg(500116,"验证码错误");
}
